package com.ruoyi.coronary.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 消息对象 coronary_message
 * 
 * @author wky
 * @date 2024-04-09
 */
@Schema(description = "消息对象")
public class CoronaryMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 消息id */
    @Schema(defaultValue = "消息id")
    private Long messageId;

    


    /** 发送者工号 */
    @Schema(defaultValue = "发送者工号")
    @Excel(name = "发送者工号")
    private String senderJobNumber;

    



    /** 消息内容 */
    @Schema(defaultValue = "消息内容")
    @Excel(name = "消息内容")
    private String messageContent;

    


    /** 接收者工号 */
    @Schema(defaultValue = "接收者工号")
    @Excel(name = "接收者工号")
    private String recipientJobNumber;

    

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }


    public void setSenderJobNumber(String senderJobNumber) 
    {
        this.senderJobNumber = senderJobNumber;
    }

    public String getSenderJobNumber() 
    {
        return senderJobNumber;
    }


    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }


    public void setRecipientJobNumber(String recipientJobNumber) 
    {
        this.recipientJobNumber = recipientJobNumber;
    }

    public String getRecipientJobNumber() 
    {
        return recipientJobNumber;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("senderJobNumber", getSenderJobNumber())
            .append("createTime", getCreateTime())
            .append("messageContent", getMessageContent())
            .append("recipientJobNumber", getRecipientJobNumber())
            .toString();
    }
}
